package com.example.service.impl;

import com.example.domain.MeetingSheet;
import com.example.mapper.MeetingApplicationMapper;
import com.example.mapper.MeetingSheetMapper;
import com.example.service.IMeetingSheetService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 会议签到Service业务层处理
 * 
 * @author ruoyi
 */
@Service
public class MeetingSheetServiceImpl implements IMeetingSheetService
{
    @Autowired
    private MeetingSheetMapper meetingSheetMapper;

    /**
     * 查询会议签到
     * 
     * @param id 会议签到主键
     * @return 会议签到
     */
    @Override
    public MeetingSheet selectMeetingSheetById(Long id)
    {
        return meetingSheetMapper.selectMeetingSheetById(id);
    }

    /**
     * 查询会议签到列表
     * 
     * @param meetingSheet 会议签到
     * @return 会议签到
     */
    @Override
    public List<MeetingSheet> selectMeetingSheetList(MeetingSheet meetingSheet)
    {
        return meetingSheetMapper.selectMeetingSheetList(meetingSheet);
    }

    /**
     * 新增会议签到
     * 
     * @param meetingSheet 会议签到
     * @return 结果
     */
    @Override
    public int insertMeetingSheet(MeetingSheet meetingSheet)
    {
        return meetingSheetMapper.insertMeetingSheet(meetingSheet);
    }

    /**
     * 修改会议签到
     * 
     * @param meetingSheet 会议签到
     * @return 结果
     */
    @Override
    public int updateMeetingSheet(MeetingSheet meetingSheet)
    {
        return meetingSheetMapper.updateMeetingSheet(meetingSheet);
    }

    /**
     * 批量删除会议签到
     * 
     * @param ids 需要删除的会议签到主键
     * @return 结果
     */
    @Override
    public int deleteMeetingSheetByIds(Long[] ids)
    {
        return meetingSheetMapper.deleteMeetingSheetByIds(ids);
    }

    /**
     * 删除会议签到信息
     * 
     * @param id 会议签到主键
     * @return 结果
     */
    @Override
    public int deleteMeetingSheetById(Long id)
    {
        return meetingSheetMapper.deleteMeetingSheetById(id);
    }
}
